import request from '@/utils/request'
// -------------电邮------------

//电邮发送  /doc/mail/email
export const getDocMailEmailApi = (params) =>{
    return request({
        url:'/doc/mail/email',
        method:'get',
        params
    })
}

// 确认是否已经该买 /doc/mail/ifPurchase
export const ifPurchaseMailApi = (params) =>{
    return request({
        url:'/doc/mail/ifPurchase',
        method:'get',
        params
    })
}

// 下载文档 /doc/overall/downloadPdf
export const getOverallDownloadPdfApi= (params) =>{
    return request({
        url:'/doc/overall/downloadPdf',
        method:'get',
        params
    })
}
// 关闭订单
export const closOrderApi= (data) =>{
    return request({
        url:'/financial/order/closOrder',
        method:'put',
        data
    })
}